package com.cw.jeeyt.service.intf.security;

import com.cw.jeeyt.service.bo.security.SecurityOperateLogBo;
import com.cw.lang.mybatis.dto.PageInfo;

/**
 * 操作日志信息业务接口
  * @author chenw
 * @version 1.0.0
 */
public interface SecurityOperateLogService {

    /**
     * 删除操作日志信息
     *
     * @param securityOperateLogBo
     */
    void delete(SecurityOperateLogBo securityOperateLogBo) throws Exception;

    /**
     * 更新操作日志信息
     *
     * @param securityOperateLogBo
     */
    void update(SecurityOperateLogBo securityOperateLogBo) throws Exception;

    /**
     * 根据主键查询操作日志信息
     *
     * @param id
     * @return
     */
    SecurityOperateLogBo getSecurityOperateLogById(String id) throws Exception;

    /**
     * 新增操作日志信息
     *
     * @param securityOperateLogBo
     * @return
     */
    Integer insert(SecurityOperateLogBo securityOperateLogBo) throws Exception;

    /**
     * 分页查询操作日志信息
     *
     * @param securityOperateLogBo
     * @param startNum
     * @param pageSize
     * @return
     * @throws Exception
     */
    PageInfo<SecurityOperateLogBo> queryByPage(SecurityOperateLogBo securityOperateLogBo, Integer startNum,
        Integer pageSize) throws Exception;
}
